package com.teach.sys.model.po;

import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
 * <p>
 * 字典表
 * </p>
 *
 * @author hzz
 * @since 2021-05-13
 */
@Data
@TableName("sys_image")
@ApiModel(value="SysImage对象", description="字典表")
public class SysImagePO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @JsonProperty("id")
    @TableId("id")
    private String id;

    /**
     * 名称
     */
    @JsonProperty("title")
    @TableField("title")
    private String title;

    /**
     * 类型
     */
    @JsonProperty("type")
    @TableField("type")
    private String type;

    /**
     * url
     */
    @JsonProperty("url")
    @TableField("url")
    private String url;

    @JsonProperty("update_time")
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 删除标记
     */
    @JsonProperty("del_flag")
    @TableField("del_flag")
    private String delFlag;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "SysImage{" +
        "id=" + id +
        ", title=" + title +
        ", type=" + type +
        ", url=" + url +
        ", updateTime=" + updateTime +
        ", delFlag=" + delFlag +
        "}";
    }
}
